package me.nickpierson.SpringIdol.POJOS;

import java.util.Map;

public class OneManBandest implements Performer {

	private Map<String, Instrument> instruments;

	public void perform() {
		for (String key : instruments.keySet()) {
			System.out.print(key + " : ");
			instruments.get(key).play();
		}
	}

	public void setInstruments(Map<String, Instrument> instruments) {
		this.instruments = instruments;
	}
}
